package ChainNode;


public class ChainNode {

	public ChainNode next;
	public Object element;
	
	public ChainNode()
	{
		next = null;
		element=null;
	}
	public ChainNode(Object element)
	{
		this.element=element;
		next = null;
	}
	public ChainNode(Object element, ChainNode next)
	{
		this.element= element;
		this.next=next;
	}
}
